package top.infopub.mgr.bpa.dao;

import com.github.pagehelper.Page;

import top.infopub.generic.GenericDao;
import top.infopub.mgr.bpa.domain.OtherSureDomain;
import top.infopub.mgr.bpa.vo.OtherSureVo;
import top.infopub.model.bpa.OtherSure;

/** 其他费合同产值确权(BPA_OTHER_SURE) **/
public interface OtherSureDao extends GenericDao<OtherSure, String> {

    /**
     * 根据条件查询分页数据
     * @param otherSureVo
     * @return 
     * @see
     */
    Page<OtherSureDomain> selectByDomainWhere(OtherSureVo otherSureVo);

    /**
     * 根据条件查询-我审批的分页数据
     * @param otherSureVo
     * @return 
     * @see
     */
    Page<OtherSureDomain> selectMyCheckByDomainWhere(OtherSureVo otherSureVo);

    /**
     * 新增记录（自带id）
     * @param otherSure 
     * @see
     */
    void insertById(OtherSureVo otherSure);
    void insertSelective(OtherSureVo otherSure);

    /**
     * 根据id查询详情
     * @param id 主键id
     * @return 
     * @see
     */
    OtherSureVo queryById(String id);

    void updateByIdSelective(OtherSureVo otherSureVo);
	
}